# WORKSPACE

local_repository(
    name = "rules_jvm_external",
    path = "../..",
)

load("@rules_jvm_external//:repositories.bzl", "rules_jvm_external_deps")

rules_jvm_external_deps()

load("@rules_jvm_external//:setup.bzl", "rules_jvm_external_setup")

rules_jvm_external_setup()

load("@rules_jvm_external//:defs.bzl", "maven_install")

maven_install(
    artifacts = [
        "com.google.protobuf:protobuf-java:3.23.2",
        "com.google.protobuf:protobuf-java-util:3.23.2",
    ],
    override_targets = {
        "com.google.protobuf:protobuf-java": "@protobuf//:protobuf_java",
    },
    repositories = [
        "https://repo1.maven.org/maven2",
    ],
    strict_visibility = True,
)
